<?php

namespace Tests\Feature;

use Tests\TestCase;

class DistrictControllerTest extends TestCase
{
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\District';
    self::$table = 'districts';
    self::$searchExpr = 'name=[lk]Belluno';
    self::$searchRecord = ['region_id', '=', '20', 'name', '=', 'Belluno'];
    self::$toIns = [
      'region_id' => 5,
      'code' => 'XXX',
      'name' => 'Bertinoro',
    ];
    self::$searchToUpd = ['region_id', '=', '5', 'name', '=', 'Bertinoro'];
    self::$toUpd = ['name' => 'The real Bertinoro'];
    self::$searchToDel = ['region_id', '=', '5', 'name', '=', 'The real Bertinoro'];
  }
}
